<script type="text/javascript">
<!--
	document.domain='localhost'
//-->
</script>
<?php
	session_start();
	
	$username = $_REQUEST['name'];
	if(empty($username)){
		exit();		
	}
	
	echo $_SESSION['username'] = $username;
	
?>